/********************************************************************************
*                 Copyright (C) 2011 - Las Venturas Playground                  *
*                      http://iv-mp.nl | http://lvp-iv.com                      *
*                                                                               *
*    This program is free software: you can redistribute it and/or modify       *
*    it under the terms of the GNU General Public License as published by       *
*    the Free Software Foundation, either version 3 of the License, or          *
*    (at your option) any later version.                                        *
*                                                                               *
*    This program is distributed in the hope that it will be useful,            *
*    but WITHOUT ANY WARRANTY; without even the implied warranty of             *
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
*    GNU General Public License for more details.                               *
*                                                                               *
*    You should have received a copy of the GNU General Public License          *
*    along with this program.  If not, see <http://www.gnu.org/licenses/>.      *
*                                                                               *
*********************************************************************************
*                                                                               *
*  Las Venturas Playground - Core/variables.nut                                 *
*                                                                               *
*  This file holds all the global variables, please keep it organised.          *
*                                                                               *
********************************************************************************/

// === Gamemode variables === //

// Create the array that'll hold all the weapons
weaponNames <- []

// This holds the MySQL connection.
connectionHandle <- false;

// By [___]Whitetiger
weaponNames <-
{
    [0] = "Fist",
    [1] = "Baseball bat",
    [2] = "Pool cue",
    [3] = "Knife",
    [4] = "Grenade",
    [5] = "Molotov",
    [7] = "Pistol/9mm",
    [9] = "Deagle",
    [10] = "Shotgun",
    [11] = "Beretta",
    [12] = "Micro Uzi",
    [13] = "MP5",
    [14] = "AK-47",
    [15] = "M4",
    [16] = "Sniper rifle",
    [17] = "M40A1",
    [18] = "Rocket launcher"
}

// This will hold all the possible random spawn positions.
spawnPositions <-
{
    [0] = { x = 58.488483000, y = 1115.379395, z = 3.1669970, heading = 324.999969 },
    [1] = { x = 48.610126000, y = 812.1098630, z = 14.619270, heading = 46.3551670 },
    [2] = { x = -30.90616000, y = 1137.293457, z = 14.806470, heading = 90.7114720 },
    [3] = { x = -218.5099950, y = 941.6333620, z = 10.849760, heading = 174.362137 },
    [4] = { x = -389.3330990, y = 1193.756226, z = 14.763377, heading = 237.251709 },
    [5] = { x = -389.9433590, y = 1277.561890, z = 23.065760, heading = 206.105988 },
    [6] = { x = -278.0378420, y = 1554.303101, z = 20.419760, heading = 70.0573040 },
    [7] = { x = -363.6740110, y = 1442.641602, z = 21.282188, heading = 174.412781 },
    [8] = { x = -235.9111940, y = 787.3249510, z = 7.1765630, heading = 2.15428300 },
    [9] = { x = -178.3536220, y = 600.4177250, z = 15.383998, heading = 258.785156 },
    [10] = { x = -154.610687, y = 601.6791990, z = 15.383947, heading = 107.223946 },
    [11] = { x = -186.765182, y = 341.4522710, z = 14.803945, heading = 51.9054830 },
    [12] = { x = -193.087967, y = 162.2944340, z = 15.102483, heading = 316.940277 },
    [13] = { x = 138.7301790, y = 42.36735500, z = 14.733578, heading = 44.8241730 },
    [14] = { x = 69.07000700, y = 1230.461182, z = 16.116856, heading = 291.478088 },
    [15] = { x = -363.464844, y = 1394.344116, z = 12.776683, heading = 271.736481 },
    [16] = { x = -277.788971, y = 1357.612793, z = 25.637562, heading = 224.472595 },
    [17] = { x = -67.8394700, y = 1301.858398, z = 30.378775, heading = 116.721481 },
    [18] = { x = -107.908401, y = 1301.725830, z = 26.028362, heading = 248.618332 }    
}

// === Player variables === //
// === Minigame variables === //

dofile("./scripts/Handlers/Account/variables.nut");
dofile("./scripts/Handlers/Vehicle/variables.nut");
